package com.four.rentalhousing.entity;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户表
 */
@Data
@Schema(description = "用户")
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @Schema(description = "编号（无实际意义）")
    private int bh;
    @Schema(description = "用户id")
    private String id;
    @Schema(description = "注册时间")
    private String zcsj;
    @Schema(description = "用户名")
    private String yhm;
    @Schema(description = "密码")
    private String pwd;
    @Schema(description = "用户昵称")
    private String yhnc;
    @Schema(description = "手机号")
    private String sjh;
    @Schema(description = "电子邮箱")
    private String dzyx;
    @Schema(description = "身份证")
    private String sfz;
    @Schema(description = "用户头像")
    private String yhtx;
    @Schema(description = "个人简介")
    private String grjj;
    @Schema(description = "用户状态（0.正常，2.禁用）是否能买房")
    private String yhzt;
    @Schema(description = "用户身份（0.管理员，2.房东，4.普通用户）")
    private String yhsf;
    @Schema(description = "性别")
    private String sex;
    @Schema(description = "爱好")
    private String hobby;
    @Schema(description = "职业")
    private String job;
}